<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./Public/home/css/index.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/home/css/list.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/home/css/header.css"/>
		<script src="./Public/home/js/jquery-1.7.2.min.js"></script>
		<script src="./Public/home/js/style.js"></script>
	</head>
	<body>
	<!--header-->
	<div id="header">
		<div class="header"> 
			<div class="headerTop">
				<div class="headerLeft">
					<h1>
						<a href="http://localhost/360shop/index.php?m=Home&c=Index&a=index"><img src="./Public/home/images/logo1_cc09ff8.png"/></a>
					</h1>
				</div>
				<div class="headerRight">
					<ul class="header-car">
						<li class="shop-car">
							<a href="http://localhost/360shop/index.php?m=Home&c=Cart&a=index">购物车( 0
               )</a>
							<!--<div class="car-box">
																<div class="shop-car-empty">购物车中还没有商品,赶紧选购吧!</div>
								
               							</div>-->
						</li>
					</ul>
					<!--搜索-->
					<div class="select">
						<form action="http://localhost/360shop/index.php?m=Home&c=List&a=index" method="post">
							<input type="text" name="select" class="select-box" />
							<input type="submit" value="So索" class="select-btn"/>
						</form>
					</div>
					<ul class="navbar">
						<li><a href="http://localhost/360shop/index.php?m=Home&c=Index&a=index" >首页</a></li>
												<li><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=1" 
							                
							                 class="hover" 
               							
               							>手机</a></li>
												<li><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=14" 
							                
														
               							>耳机</a></li>
												<li><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=13" 
							                
														
               							>能源</a></li>
												<li><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=20" 
							                
														
               							>智能硬件</a></li>
												<li><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=18" 
							                
														
               							>VR眼镜/车载设备</a></li>
												<li><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=19" 
							                
														
               							>存储</a></li>
											</ul>
				</div>
			</div>
			<div class="header-bottom">
				<div class="header-bottom-box">
					<div class="bottom-left-hover">
						<div class="header-bottom-left">全部商品分类</div>
						<ul class="nav-list">
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=1" class="nav-list-title">手机</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=21">智能机</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=22">商务机</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=24">双卡双待</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=14" class="nav-list-title">耳机</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=25">有线耳机</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=26">蓝牙耳机</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=27">运动耳机</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=13" class="nav-list-title">能源</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=28">电池</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=29">移动电源</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=20" class="nav-list-title">智能硬件</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=43">智能手表</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=30">智能路由器</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=31">随身WIFI</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=18" class="nav-list-title">VR眼镜/车载设备</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=32">VR眼镜</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=33">车载设备</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=19" class="nav-list-title">存储</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=34">内存卡</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=35">U盘</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=36">移动硬盘</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=17" class="nav-list-title">保护</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=39">保护套</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=40">后壳</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=41">贴膜</a>
															</li>
													<li>
								<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=15" class="nav-list-title">手机配件</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=37">充电器</a>
																<a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=38">数据线</a>
															</li>
											</ul>
					</div>
					<ul class="header-bottom-right">
						<li class="li-nav">
							<span style="padiving-left: 15px;">网站导航</span>
							<div class="all-list">
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=1">手机</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=14">耳机</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=13">能源</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=20">智能硬件</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=18">VR眼镜/车载设备</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=19">存储</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=17">保护</a></div>
																<div><a href="http://localhost/360shop/index.php?m=Home&c=List&a=index&cid=15">手机配件</a></div>
															</div>
						</li>
						                
						<li>
							<a href="http://localhost/360shop/index.php?m=Home&c=Presonal&a=index">CRBHF</a>
							<a href="http://localhost/360shop/index.php?m=Home&c=Member&a=del">退出登录</a>
							
						</li>
												<li class="order"><a href="http://localhost/360shop/index.php?m=Home&c=Presonal&a=order">我的订单</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<!--/header-->
	<!--content-->
	<div id="content">
	<?php if(isset($fallAttr)){?>
                
		<div class="content-top">
			<a href="<?php echo U('Index/index')?>" >首页</a>
			<span>></span>
			<a href="<?php echo U('List/index',array('cid'=>$caData['cid']))?>"><?php echo $caData['cname']?></a>
		</div>
	
		<div class="checked-box">
			<?php foreach ($fallAttr as $k=>$v){?>
			<?php 
				$temp=$param;
				$temp[$k]=0;
			 ?>
			<div class="checked">
				<span><?php echo $v['name']?>:</span>
				<a href="<?php echo U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])?>" <?php if($param[$k]==0){?>
                class="hover"
               <?php }?>>不限</a>
					<?php foreach ($v['value'] as $vv){?>
					<?php 
						$temp[$k]=$vv['gaid'];
					 ?>
					<a href="<?php echo U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])?>"  <?php if($vv['gaid']==$param[$k]){?>
                 class="hover" 
               <?php }?>><?php echo $vv['gavalue']?></a>
					<?php }?>
			</div>
			<?php }?>
		</div>
	
               <?php }?>
		<!--<div class="content-nav">
			<p class="checktext">排序:</p>
			<a href="">销量</a>
			<a href="">价格</a>
			<a href="">上架时间</a>
			<a href="">好评</a>
		</div>-->
		<?php if($goodsData){?>
                
		<div class="select-end">搜索结果：</div>
		<div class="check-list">
			<ul>
				<?php foreach ($goodsData as $g){?>
				<li>
					<div class="shop-list-img">
						<a href="<?php echo U('Content/index',['gid'=>$g['gid']])?>"><img src="<?php echo $g['pic']?>" alt="" /></a>
					</div>
					<div class="shop-list-text">
						<h5><?php echo $g['gname']?></h5>
						<div></div>
						<div><span style="text-decoration: line-through;font-size:14px;">¥<?php echo $g['makertprice']?></span>元</div>
						<div class="shop-list-money">
							<span>¥<?php echo $g['shopprice']?></span>元
						</div>
					</div>
				</li>
				<?php }?>
			</ul>
		</div>
		<?php }else{?>
			<div class="no-goods">没有该类型商品</div>
		
               <?php }?>
	</div>
	<!--/content-->
	<!--footer-->
	<div id="footer">
	<div class="footer">
		<p>法律声明|备案证号：京ICP备11014623号-6    © 版权2012-2020 奇酷互联网络科技(深圳)有限公司</p>
	</div>
</div>
	<!--/footer-->
	</body>
</html>
